package com.hyt.it.ogt.ks.service.Event;

import org.springframework.context.ApplicationEvent;

import com.hyt.it.ogt.ks.model.dto.ReportAndSendScoreDayiDTO;

import lombok.Getter;
import lombok.ToString;

/**
 * @author wuyingge
 * @ClassName ReportAndSendSocreDayiEvent.java
 * @Description 向大易推送考试结果
 * @createTime 2021年10月27日 16:39:00
 */
@Getter
@ToString
public class ReportAndSendSocreDayiEvent extends ApplicationEvent {

    private ReportAndSendScoreDayiDTO job;

    private Integer timeConsumer;

    public ReportAndSendSocreDayiEvent(Integer timeConsumer){
        super(new Object());
        this.timeConsumer = timeConsumer;
    }

    public ReportAndSendSocreDayiEvent(ReportAndSendScoreDayiDTO job) {
        super(new Object());
        this.job = job;
    }
}
